package com.cool.reggie.modules.setmealdish.mapper;

import com.cool.reggie.modules.setmealdish.entity.SetmealDishEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 套餐菜品关系 Mapper 接口
 * </p>
 *
 * @author 1950735817@qq.com
 * @since 2022-07-12
 */
@Mapper
public interface SetmealDishMapper extends BaseMapper<SetmealDishEntity> {

    /**
     * 插入相乘
     *
     * @param setmealDishEntityList 列表
     */
    int myInsertMult(@Param("setmealDishEntityList") List<SetmealDishEntity> setmealDishEntityList);

    SetmealDishEntity queryByIdWithDishes(Long id);
}
